<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/global.jsp"%>
<%@ include file="/common/include_common.jsp"%>
<%
	String base = request.getContextPath();
%>

<!--
	*
	*@author huangyuhao
	*@createTime "2018年4月20日下午2:56:14"
	*@version 1.0
-->
<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="author" content="hyh">
		<title>车辆信息列表</title>
		<%-- <link rel="stylesheet" href="<%=base %>/resources/css/busTicketManager/busStationStateManager.css"> --%>
	</head>

	<body>
		<form id="searchForm">
			<div class="navbar-form navbar-left" role="search">
				状态：
				<div class="form-group">
					<select id="shenPiReason" name="shenPiReason" class="form-control">
						<option value="0">待审核</option>
						<option value="1">已通过</option>
						<option value="2">不通过</option>
					</select>
				</div>
			</div>

			<div class="navbar-form navbar-left" role="search" id="cheStationArea">
				车牌号：
				<div class="form-group">
					<input size="16" id="licensePlates" type="text" value="" placeholder="" class="form-control">
				</div>
			</div>
			<div class="navbar-form navbar-left" role="search">
				供应商：
				<div class="form-group">
					<select class="form-control" id="supplId">
						<option value="">请选择供应商</option>
					</select>

				</div>
			</div>
			<div class="navbar-form navbar-left" role="search">
				<button id="search" type="button" class="btn btn-primary">搜索</button>
			</div>
			<div class="navbar-form navbar-left" role="search">
				<button id="reset" type="button" class="btn btn-dark">重置</button>
			</div>
			<div class="navbar-form navbar-left" role="search">
				<button id="addInfoBtn" type="button" class="btn btn-success">新增</button>
			</div>
		</form>
		<table id="table"></table>

		<!--modal框-->
		<div id="addDialog" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
						<h4 id="ModalTitle" class="modal-title">正在操作中，请稍等。。。</h4>
					</div>
				</div>
			</div>
		</div>
		<!-- 添加司机信息-->
		<div id="addDriverInfo" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
						<h4 id="downLineReasonModalTitle" class="modal-title">添加车辆信息</h4>
					</div>
					<div class="modal-body">
						<form role="form">
							<div class="form-group">
								<label for="LicensePlatesAdd">车牌号<span class="text-danger">&nbsp;*</span></label>
								<input type="text" id="LicensePlatesAdd" name="LicensePlatesAdd" class="form-control" placeholder="请输入车牌号"></input>
							</div>
							<div class="form-group">
								<label for="BusSeatNumber">座位数<span class="text-danger">&nbsp;*</span></label></label>
								<input type="text" name="BusSeatNumber" class="form-control" id="BusSeatNumber" placeholder="请输入车辆座位数"></input>
							</div>
							<div class="form-group">
								<label for="OwnershipOfVehicles">所有权<span class="text-danger">&nbsp;*</span></label></label>
								<input type="text" name="OwnershipOfVehicles" class="form-control" id="OwnershipOfVehicles" placeholder="车辆归属"></input>
							</div>
							<div class="form-group">
								<label for="CarVIN">车辆识别号<span class="text-danger">&nbsp;*</span></label></label>
								<input type="text" name="CarVIN" class="form-control" id="CarVIN" placeholder="车辆识别号"></input>
							</div>
							<div class="form-group">
								<label for="EngineNumber">发动机号<span class="text-danger">&nbsp;*</span></label></label>
								<input type="text" name="EngineNumber" class="form-control" id="EngineNumber" placeholder="请填写发动机号"></input>
							</div>
							<div class="form-group">
								<label for="DrivingLicenseStartTime">发证日期<span class="text-danger">&nbsp;*</span></label></label>
								<input size="16" id="DrivingLicenseStartTime" name="DrivingLicenseStartTime" type="text" value="" readonly class="form_datetime form-control" placeholder="请选择发证日期">
							</div>
							<div class="form-group">
								<label for="AnnualInspectionTime">发证日期<span class="text-danger">&nbsp;*</span></label></label>
								<input size="16" id="AnnualInspectionTime" name="AnnualInspectionTime" type="text" value="" readonly class="form_datetime form-control" placeholder="请选择年审时间">
							</div>
							<div class="form-group">
								<label for="BusVehicleGrade">车辆等级<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="BusVehicleGrade" name="BusVehicleGrade" placeholder="请输入车辆等级"></input>
							</div>
							<div class="form-group">
								<label for="CarBrand">车辆品牌<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="CarBrand" name="CarBrand" placeholder="请输入车辆品牌"></input>
							</div>
							<div class="form-group">
								<label for="CarCoty">车龄<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="CarBrand" name="CarBrand" placeholder="请输入车龄"></input>
							</div>
							<div class="form-group">
								<label for="DriverDeatilPtah">车辆信息<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="DriverDeatilPtah" name="DriverDeatilPtah" placeholder="请输入车辆信息"></input>
							</div>
							<div class="form-group">
								<label for="VehicleOperationCertificate">运营信息<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="VehicleOperationCertificate" name="VehicleOperationCertificate" placeholder="请输入运营信息"></input>
							</div>
							<div class="form-group">
								<label for="VehicleOperationCertificatePath">运营信息图片<span class="text-danger">&nbsp;*</span></label>
								<!--<input id="VehicleOperationCertificatePath" name="input-b2" type="file" class="file" data-show-preview="false">-->
								<input id="VehicleOperationCertificatePath" name="VehicleOperationCertificatePath" type="file" class="file" multiple data-show-upload="false" data-show-caption="true" data-msg-placeholder="选择上传文件...">
							</div>
							<div class="form-group">
								<label for="VehicleOperationCertificate">行驶证<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="VehicleOperationCertificate" name="VehicleOperationCertificate" placeholder="请输入行驶证编号"></input>
							</div>
							<div class="form-group">
								<label for="VehicleOperationCertificatePath">上传行驶证图片<span class="text-danger">&nbsp;*</span></label>
								<!--<input id="VehicleOperationCertificatePath" name="input-b2" type="file" class="file" data-show-preview="false">-->
								<input id="VehicleOperationCertificatePath" name="VehicleOperationCertificatePath" type="file" class="file" multiple data-show-upload="false" data-show-caption="true" data-msg-placeholder="选择上传文件...">
							</div>
						</form>
					</div>
					<div class="modal-footer">
						<button class="btn" id="resetDialog" type="button">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;重置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</button>
							&nbsp;&nbsp;&nbsp;&nbsp;	<button id="submitBtn" class="btn btn-primary" type="button">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;提交数据&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</button>
					</div>
				</div>
			</div>
		</div>
		<!-- 不通过原因查看modal  -->
		<div id="reasonLook" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
			<div class="modal-dialog" >
				<div class="modal-content">
					<div class="modal-header ">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
						<h4 id="reasonTitle" class="modal-title ">不通过原因</h4>
					</div>
					<div class="modal-body">
						<div class="form-group ">
							<textarea id="suggestLook" class="form-control" rows="3" readonly>123</textarea>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">
							<i class="zmdi zmdi-close "></i> 关闭
						</button>
					</div>
				</div>
			</div>
		</div>
		
		<script src="../../resources/js/directBusClient/driverManager.js"></script>
	</body>
</html>